import { http } from './http'
import { PageQueryParams, PageResponse } from '@/config/page'

/**
 * 获取文件夹动态列表。
 */
export function queryDynamicsByDoc (docId: number, params: PageQueryParams) {
  return http().get<PageResponse<any>>(`/api/document/dir-dynamics/doc/${docId}`, { params })
}
